#include <stdio.h>
#include <string.h>

#define MAX 20

int main(int argc, char *argv[])
{
	int n, t, a[MAX], cnt;
	int i;
	char buf[128], *ps;

	gets(buf);
	n = atoi(strtok(buf, " "));
	t = atoi(strtok(NULL, " "));
	gets(buf);
	for (ps=strtok(buf, " "), i=0; ps; ps=strtok(NULL, " "), i++) {
		a[i] = atoi(ps);
	}

	cnt = 0;
	for (i=0; i<n; i++) {
		if (a[i] < t) cnt++;
	}

	printf("%d\n", cnt);

	return 0;
}
